<admintpl file="headerEx" />
<title>{:L('API_GUESTBOOKADMIN_INDEX')}</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper  js-check-wrap">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li class="active">
									<a href="{:U('guestbookadmin/index')}"><i class="fa fa-list-ul"></i>{:L('API_GUESTBOOKADMIN_INDEX')}
									</a></li>
							</ul>
						</header>
						<div class="panel-body">
							<section id="no-more-tables">
								<table class="table table-bordered table-striped table-hover table-condensed cf">
									<thead class="cf">
									<tr>
										<th align="center">ID</th>
										<!--<th width="50">ID</th>-->
										<th>{:L('NAME')}</th>
										<th>{:L('EMAIL')}</th>
										<th>电话号码</th>
										<!--<th style="min-width: 60px;">{:L('TITLE')}</th>-->
										<th>{:L('CONTENT')}</th>
										<th>{:L('TIME')}</th>
										<th>{:L('ACTIONS')}</th>
									</tr>
									</thead>
									<tbody>
									<volist name="guestmsgs" id="vo" empty="没有留言数据！">
										<tr>
											<td align="center">{$vo.id}</td>
											<td>{$vo.full_name}</td>
											<td>{$vo.email}</td>
											<td>{$vo.phone}</td>
											<!--<td>{$vo.title}</td>-->
											<td>{$vo.msg}</td>
											<td>{$vo.createtime}</td>
											<td   align="center">
												<a href="{:U('guestbookadmin/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
											</td>
										</tr>
									</volist>
									</tbody>
								</table>
							</section>
							<div class="col-md-12 text-center clearfix">
								{$page}
							</div>
						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>

<!--common scripts for all pages-->
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>

</body>
</html>